First-Class Type Classes
نویسندگان
چکیده
Type Classes have met a large success in Haskell and Isabelle, as a solution for sharing notations by overloading and for specifying with abstract structures by quantification on contexts. However, both systems are limited by second-class implementations of these constructs, and these limitations are only overcomed by ad-hoc extensions to the respective systems. We propose an embedding of type classes into a dependent type theory that is first-class and supports some of the most popular extensions right away. The implementation is correspondingly cheap, general and integrates well inside the system, as we have experimented in Coq. We show how it can be used to help structured programming and proving by way of examples.
منابع مشابه
The Effect of Young Mothers’ Social Classes on First Language Acquisition
The purpose of this study is to investigate the significant relationship between different young mothers’ social classes and children’s language learning. According to this research goal, this study is eager to answer the two major research questions: (a) Is there any significant difference between middle-class and working-class mothers’ speech? (b) Is there any significant relationship between...
متن کاملRelationship Between Political Culture and Social Classes; Case Study, City of Ardabil
Introduction: One of the factors influencing political development is the orientation of the political system and the political role of the individuals in that society. These political orientations and actions of individuals could be different among social classes. (According to economic and cultural capital) The present study seeks to identify the political culture of social classes. Met...
متن کاملRelationship Between Political Culture and Social Classes; Case Study, City of Ardabil
Introduction: One of the factors influencing political development is the orientation of the political system and the political role of the individuals in that society. These political orientations and actions of individuals could be different among social classes. (According to economic and cultural capital) The present study seeks to identify the political culture of social classes. Met...
متن کاملPrevalence and type of dental abnormalities among patients with different skeletal malocclusion classes in northern Iran
Background: Dental abnormalities are considered important, since they cause aesthetic and functional problems for people. Orthodontic treatment becomes more complicated when craniofacial abnormalities are accompanied with dental abnormalities. Objective: This study aims to compare the frequency and type of dental abnormalities among patients with different skeletal malocclusion classes in nor...
متن کاملThe causes of students' irregularities in class formation at the beginning of each semester in medical sciences universities
BACKGROUND AND OBJECTIVE: Holding the classes in the first weeks of the official semester is one of the main problems for the university education system. This study aimed to determine assessing the causes of students' irregularities in class formation at the beginning of each semester in medical sciences universities. METHODS: This cross-sectional study was conducted at three universities of B...
متن کاملEcological Capability Evaluation of Sharui Watershed for Forestery Land Us by Makhdoom Model and AHP Method
Forests areas of Iran in comparison with the world is very low and this low area is in demolition threat always. Hence, the remainder of these forests should be managed based on ecological capability evaluation. With regard to importance of subject, ecological capability for forestry in the Sharui watershed, Khuzestan province, was evaluated in 2015. For this purpose, the Makhdoom model and AHP...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008